/**
 * Created with IntelliJ IDEA.
 * User: ajhin
 * Date: 4/1/14
 * Time: 8:37 AM
 * To change this template use File | Settings | File Templates.
 */
package com.societyGames.codeAlong.state.codeExercise.view.actions
{
import com.societyGames.action.IAction;
import com.societyGames.codeAlong.state.codeExercise.view.EditorView;

public class HighlightAction implements IAction
{
  public var name:String;
  private var _editorView:EditorView;

  public function HighlightAction(editorView:EditorView)
  {
    _editorView = editorView;
  }

  public function startAction():void
  {
    _editorView.highlightByName(name);
  }
}
}
